﻿using FrameworkCore.Extensions;
using System.Text.Json.Serialization;

namespace AiBLSmartEdu.Module.SmartStockSense.API.DTOs;

using System;
using System.Text.Json.Serialization;

public class FiveLevelMarketTechnicalIndicatorDto
{
    /// <summary>
    /// 时间戳
    /// </summary>
    [JsonPropertyName("t")]
    [JsonConverter(typeof(CustomDateTimeConverter))]
    public DateTime? T { get; set; }

    /// <summary>
    /// 当前成交量
    /// </summary>
    [JsonPropertyName("vc")]
    public int? Vc { get; set; }

    /// <summary>
    /// 最新成交价格
    /// </summary>
    [JsonPropertyName("vb")]
    public decimal? Vb { get; set; }

    /// <summary>
    /// 第一档买入报价
    /// </summary>
    [JsonPropertyName("pb1")]
    public decimal? Pb1 { get; set; }

    /// <summary>
    /// 第一档买入量
    /// </summary>
    [JsonPropertyName("vb1")]
    public int? Vb1 { get; set; }

    /// <summary>
    /// 第二档买入报价
    /// </summary>
    [JsonPropertyName("pb2")]
    public decimal? Pb2 { get; set; }

    /// <summary>
    /// 第二档买入量
    /// </summary>
    [JsonPropertyName("vb2")]
    public int? Vb2 { get; set; }

    /// <summary>
    /// 第三档买入报价
    /// </summary>
    [JsonPropertyName("pb3")]
    public decimal? Pb3 { get; set; }

    /// <summary>
    /// 第三档买入量
    /// </summary>
    [JsonPropertyName("vb3")]
    public int? Vb3 { get; set; }

    /// <summary>
    /// 第四档买入报价
    /// </summary>
    [JsonPropertyName("pb4")]
    public decimal? Pb4 { get; set; }

    /// <summary>
    /// 第四档买入量
    /// </summary>
    [JsonPropertyName("vb4")]
    public int? Vb4 { get; set; }

    /// <summary>
    /// 第五档买入报价
    /// </summary>
    [JsonPropertyName("pb5")]
    public decimal? Pb5 { get; set; }

    /// <summary>
    /// 第五档买入量
    /// </summary>
    [JsonPropertyName("vb5")]
    public int? Vb5 { get; set; }

    /// <summary>
    /// 第一档卖出报价
    /// </summary>
    [JsonPropertyName("ps1")]
    public decimal? Ps1 { get; set; }

    /// <summary>
    /// 第一档卖出量
    /// </summary>
    [JsonPropertyName("vs1")]
    public int? Vs1 { get; set; }

    /// <summary>
    /// 第二档卖出报价
    /// </summary>
    [JsonPropertyName("ps2")]
    public decimal? Ps2 { get; set; }

    /// <summary>
    /// 第二档卖出量
    /// </summary>
    [JsonPropertyName("vs2")]
    public int? Vs2 { get; set; }

    /// <summary>
    /// 第三档卖出报价
    /// </summary>
    [JsonPropertyName("ps3")]
    public decimal? Ps3 { get; set; }

    /// <summary>
    /// 第三档卖出量
    /// </summary>
    [JsonPropertyName("vs3")]
    public int? Vs3 { get; set; }

    /// <summary>
    /// 第四档卖出报价
    /// </summary>
    [JsonPropertyName("ps4")]
    public decimal? Ps4 { get; set; }

    /// <summary>
    /// 第四档卖出量
    /// </summary>
    [JsonPropertyName("vs4")]
    public int? Vs4 { get; set; }

    /// <summary>
    /// 第五档卖出报价
    /// </summary>
    [JsonPropertyName("ps5")]
    public decimal? Ps5 { get; set; }

    /// <summary>
    /// 第五档卖出量
    /// </summary>
    [JsonPropertyName("vs5")]
    public int? Vs5 { get; set; }
}
